
export const formData = {
    getItemUrl: 'interface/component/getItemById/',
    updateUrl: 'interface/component/updateAction/',
    createUrl: 'interface/component/createAction/',
    formKey: 'component',
    updateFieldList: [
        { formType: 'Input', showName: '标题', key: 'title', width: 6 },
        { formType: 'Input', showName: '名称', key: 'name', width: 6 }
    ],
    detailFieldList: [
        { formType: 'Input', showName: '标题', key: 'title', width: 6 },
        { formType: 'Input', showName: '名称', key: 'name', width: 6 }
    ],
    options: {
        status: [
            {value: '1', label: "正常"},
            {value: '2', label: "异常"}
        ],
        isShow: [
            {value: 1, label: "是"},
            {value: 0, label: "否"}
        ]
    },
    dicts: {
        status: {
            '1': "正常",
            '2': "异常"
        }
    }
}
